package com.link.base.base.order.dao.mybatis.mapper;

import com.link.base.base.order.model.OrderPolicyResult;
import com.link.base.base.policy.model.PcyResult;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;

/**
 * @author yrf
 * @date unknown
 * @comments 定单政策结果
 */
public interface OrderPolicyResultMapper extends BasicMapper<OrderPolicyResult> {

    /**
     * <p>根据订单id查询生效的政策规则结果</p>
     *
     * @author yrf
     * @param record
     * @return
     */
    public List<PcyResult> queryPcyResultByOrderId(OrderPolicyResult record);
}
